{% extends "base.html" %}
{% load i18n %}

{% block content %}
<form action="." method="POST">
  <p>
    <label for="id_author">{% trans "Author" %}:</label><input type="text" name="author" id="id_author" /><br/>
    <label for="id_title">{% trans "Title" %}:</label><input type="text" name="title" id="id_title" /><br/>
    <label for="id_year_of_publication">{% trans "Year of publication" %}:</label><input type="text" name="year_of_publication" id="id_year_of_publication" /><br/>
    <label for="id_text">{% trans "Text" %}:</label><textarea name="text" id="id_text"></textarea><br/>
  </p>
  <p><input type="submit" value="{% trans "Add poem" %}" /></p>  
</form>
{% endblock %}
